package Students;

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scan=new Scanner(System.in);
        Student[] students=new Student[30];
        for(int i=0;i<30;i++){
            students[i]=new Student();
            students[i].name=scan.nextLine();
            students[i].normalScore=scan.nextInt();
            students[i].examScore=scan.nextInt();
            students[i].getMark(0.5);
            System.out.println(students[i].mark);
        }

    }
}